package com.whmall.service.crm.module.suppliercreditscore.entity;

import java.io.Serializable;
import java.util.Date;

import lombok.*;

/**
 * Author：yangdong
 * Date：2020/12/11
 * Description：供应商信用分变更历史表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SupplierCreditScoreChangeHistoryDO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
    * 供应商公司ID
    */
    private Long supplierId;

    /**
    * 信用分变更类型, 值请查看通用配置文档
    */
    private Integer changeType;

    /**
    * 变更分数
    */
    private Integer changeScore;

    /**
    * 业务键, 根据信用分变更类型确定
    */
    private Long businessKey;

    /**
    * 新建时间
    */
    private Date createTime;
}